/**
 * 项目名称：MCOMMON
 * 包名称：com.mt.component.domain
 * 文件名称：Common.java
 */
package com.mt.component.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;

import org.hibernate.annotations.GenericGenerator;

/**
 * 类名称：Common <br>
 * 类描述： <br>
 * 创建人： 马腾 <br>
 * 创建时间：2012-11-15 下午10:50:33 <br>
 */
@MappedSuperclass
public class Common implements Serializable {
	
	private static final long serialVersionUID = 7940275535845293669L;
	
	protected String id; 
	
	@Id
	@Column(name = "ID",length = 32)
	@GeneratedValue(generator="system-uuid")
	@GenericGenerator(name="system-uuid", strategy = "uuid")
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

}
